﻿$(function () {
    initMap();
});

function initMap() {
    var companyLatLng = new google.maps.LatLng(42.851032, 74.613153);
    var myOptions = {
        zoom: 18,
        center: companyLatLng,
        panControl: false,
        zoomControl: true,
        scaleControl: false,
        streetViewControl: false,
        mapTypeControl: true,
        mapTypeId: google.maps.MapTypeId.SATELLITE
    };
    var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
//    var infowindow = new google.maps.InfoWindow({
//        content: contentString
//    });
    var image = $('#logoUrl').attr('value');
    var marker = new google.maps.Marker({
        position: companyLatLng,
        map: map,
        icon: image
    });
//    google.maps.event.addListener(marker, 'click', function () {
//        infowindow.open(map, marker);
//    });
}